﻿' LibWowAPI
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Namespace roncliProductions.LibWowAPI.Character

    ''' <summary>
    ''' A class containing information about an achievement criteria.
    ''' </summary>
    ''' <remarks></remarks>
    Public Class Criteria

        ''' <summary>
        ''' The ID number of the achievement criteria.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property ID As Integer

        ''' <summary>
        ''' The amount of the achievement criteria completed.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Quantity As Long

        ''' <summary>
        ''' The date the achievement criteria was completed.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Timestamp As Date

        ''' <summary>
        ''' The date the achievement criteria was started.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Created As Date

        Protected Friend Sub New(intID As Integer, lngQuantity As Long, dtTimestamp As Date, dtCreated As Date)
            ID = intID
            Quantity = lngQuantity
            Timestamp = dtTimestamp
            Created = dtCreated
        End Sub

    End Class

End Namespace
